home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-05-10 | 2.7 KB | 66 lines | [TEXT/ttxt] |
- *** CGLoadWave ***
-
- CGLoadWave adds a 'Load Cricket File' item to the 'Load Waves' submenu
- of Igor's 'File' menu. It behaves much like Igor's built in LoadWave operation
- except that it loads Cricket Graph or general tab-delimited files.
-
- There are five kinds of Cricket Graph files handled by CGLoadWave:
-
- Version 1.1 fast format files
- Version 1.1 tab-delimited files
- Version 1.2 files
- Version 1.3 graph format files
- Version 1.3 tab-delimited files.
-
- CGLoadWave loads all of these file types. In addition, it can also load
- general tab-delimited TEXT files generated by programs other than
- Cricket Graph.
-
- NOTE:
- We can't guarantee that CGLoadWave will work with every Cricket file,
- past, present or future.
-
- A Cricket Graph tab-delimited file always begins with asterisk-CR. For
- non-Cricket Graph, tab-delimited files, the asterisk-CR is allowed but
- not required.
-
- If the file being loaded is of type TEXT and is NOT a Cricket Graph file,
- then it is presumed to be a tab-delimited file. In this case, if the first
- non-space character of the file after the optional asterisk-CR is
- alphabetic, then the file is presumed to have column names.
- Otherwise, it is presumed to have no column names.
-
- Note that Igor represents missing values in a column using the IEEE
- floating point symbol "NaN" which stands for "Not-a-Number". If your
- file contains missing values, you will see NaNs in the corresponding
- Igor wave.
-
- CGLoadWave sets the Igor variable V_Flag to the number of columns
- loaded. It creates V_Flag if it does not already exist.
- CGLoadWave sets the string S_Filename to the name of the file that
- was loaded, but only if S_Filename already exists.
-
- You can access CGLoadWave through its menu item or by invoking the
- CGLoadWave operation from the command line or from a macro. The
- CGLoadWave operation has the following syntax:
-
- CGLoadWave [[/P=path]/O/D/I/Q/A[=basename]] "filename"
-
- /P=path specifies a path where file can be found.
- /O causes new waves to overwrite existing waves of the same name.
- /D causes the new waves to be double precision.
- /I causes CGLoadWave to put up the standard open dialog.
- /Q suppresses normal diagnostic messages during load.
- /A automatically names new waves using default names.
- /A=basename specifies base name to use in generating the wave names.
- /N like /A but reuses existing names.
- /N=basename like /A but reuses existing names.
-
- If neither /A nor /N is used then wave names are generated from
- the column names in the file. In the case of a non-Cricket, tab-delimited file
- with no column names, the default "Column" is used as a base name.
-
- "filename" is a full file name for the file to load
- or a partial file name if /P is used.
- If "filename" is omitted CGLoadWave puts up the standard open dialog.
-